﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace FetchDataSystem
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }
        //单击工人上岗
        private void TmsiWorkerGo_Click(object sender, EventArgs e)
        {
            FrmClockInAndOff frmClockInAndOff = new FrmClockInAndOff();
            frmClockInAndOff.MdiParent = this;
            frmClockInAndOff.Show();
        }
        //单击数据采集
        private void TmsiFetchDatas_Click(object sender, EventArgs e)
        {
            FrmFetchData frmFetchData = new FrmFetchData();
            frmFetchData.MdiParent = this;
            frmFetchData.Show();
        }

        private void FrmMain_FormClosing(object sender, FormClosingEventArgs e)
        {
            Application.Exit();
        }
    }
}
